<html>
<head><meta charset="utf-8"><title>Down On Lints · t-lang · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/index.html">t-lang</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html">Down On Lints</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="214887963"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214887963" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214887963">(Oct 28 2020 at 19:44)</a>:</h4>
<p><span class="user-mention" data-user-id="281757">@Jubilee</span> you said this in <a href="https://github.com/rust-lang/rust/issues/67264#issuecomment-718164970">https://github.com/rust-lang/rust/issues/67264#issuecomment-718164970</a>, I'm curious why. I like lints personally</p>



<a name="214888925"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214888925" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214888925">(Oct 28 2020 at 19:53)</a>:</h4>
<p>lol. So like... I was an editor by trade first and I like lints in a very Generic Sense, but that means I have Strong Opinions about them, same with autoformatters. Specifically, I dislike what feel like "fake" formatting concerns that I find creep into tools like rustfmt, and I dislike what feel like "fake" lints in things like clippy. And I'm OK with clippy being clippy and rustfmt being rustfmt in a sense? But I wish there were alternatives tbqh. I am afraid of Clippy going the way of ESLint</p>



<a name="214889198"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214889198" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214889198">(Oct 28 2020 at 19:55)</a>:</h4>
<p>I definitely feel that lints should have ~0 false positives.</p>



<a name="214889228"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214889228" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214889228">(Oct 28 2020 at 19:55)</a>:</h4>
<p>Lints that people learn to ignore lose their value.</p>



<a name="214889256"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214889256" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214889256">(Oct 28 2020 at 19:55)</a>:</h4>
<p>you have basically <span class="user-mention" data-user-id="133169">@matklad</span> 's view of clippy then <a href="https://github.com/rust-lang/rust-clippy/issues/5537">https://github.com/rust-lang/rust-clippy/issues/5537</a></p>



<a name="214889324"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214889324" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214889324">(Oct 28 2020 at 19:56)</a>:</h4>
<p><span class="user-mention silent" data-user-id="239881">Josh Triplett</span> <a href="#narrow/stream/213817-t-lang/topic/Down.20On.20Lints/near/214889228">said</a>:</p>
<blockquote>
<p>Lints that people learn to ignore lose their value.</p>
</blockquote>
<p>ooh don't get me started on this, rustc itself has a ton of these</p>



<a name="214889330"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214889330" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214889330">(Oct 28 2020 at 19:56)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/issues/64762">https://github.com/rust-lang/rust/issues/64762</a></p>



<a name="214889340"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214889340" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214889340">(Oct 28 2020 at 19:56)</a>:</h4>
<p>I am OK with %N false positives where N is low when the correctness concerns are strong enough.</p>



<a name="214889415"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214889415" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214889415">(Oct 28 2020 at 19:57)</a>:</h4>
<p>"I don't ECMAScript what is so bad about ESLint?" So... ESLint (and React ESLint) eventually acquired some absolutely <em>inane</em> lints which frankly should not even be options to be set, not even on anything like a clippy::pedantic mode. Because they were so destructive to the community. They basically are there to drive you insane, like "only one React component per file" which doesn't work at all in more compositionally-inclined projects.</p>



<a name="214889576"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214889576" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214889576">(Oct 28 2020 at 19:58)</a>:</h4>
<p><span class="user-mention silent" data-user-id="281757">Jubilee</span> <a href="#narrow/stream/213817-t-lang/topic/Down.20On.20Lints/near/214889340">said</a>:</p>
<blockquote>
<p>I am OK with %N false positives where N is low when the correctness concerns are strong enough.</p>
</blockquote>
<p>I'm alright with a very low false positive rate, as long as it still feels like it's "99% of the time this is wrong, and 1% of the time it's technically correct but still sketchy and people won't be too surprised having it flagged".</p>



<a name="214889623"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214889623" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214889623">(Oct 28 2020 at 19:58)</a>:</h4>
<p>As opposed to "and 1% of the time it's completely correct and the compiler is completely wrong".</p>



<a name="214889758"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214889758" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214889758">(Oct 28 2020 at 19:59)</a>:</h4>
<p>/me glances at <a href="https://github.com/rust-lang/rust/pull/75671#issuecomment-684898786">https://github.com/rust-lang/rust/pull/75671#issuecomment-684898786</a></p>



<a name="214890015"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890015" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> scottmcm <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890015">(Oct 28 2020 at 20:01)</a>:</h4>
<p>I think a bunch of this also comes from CLI issues.  In C# with Resharper, it has a <em>bazillion</em> little random things it can tell you about.  But most of them are just displayed with a very subtle ellipsis under it that you can click on if you like, but that doesn't make the code non-green.</p>
<p>That way it can have things like a "you could write this as an iterator" quickfix that I sometimes try but usually undo for being too complicated, without me getting annoyed at it.</p>



<a name="214890203"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890203" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> scottmcm <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890203">(Oct 28 2020 at 20:02)</a>:</h4>
<p>So I kinda want a "nudge" lint level that's only shown in the editor integration paths by default, not in <code>cargo check</code> or even <code>cargo clippy</code>.</p>



<a name="214890218"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890218" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890218">(Oct 28 2020 at 20:02)</a>:</h4>
<p>I have <em>no</em> problem with such things being allow-by-default lints that people can turn on.</p>



<a name="214890299"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890299" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> scottmcm <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890299">(Oct 28 2020 at 20:02)</a>:</h4>
<p>I think the problem is that I wouldn't even want to turn on a bunch of these, if I have to see them in the CLI output, because I so often don't want to apply them.</p>



<a name="214890305"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890305" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890305">(Oct 28 2020 at 20:02)</a>:</h4>
<p>In my opinion: Anything that's warn-by-default or more should have an exceptionally low false-positive rate and the false positives should still be unambiguously improved by changing them. But allow-by-default lints can absolutely be matters of taste.</p>



<a name="214890361"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890361" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890361">(Oct 28 2020 at 20:03)</a>:</h4>
<p><span class="user-mention silent" data-user-id="125270">scottmcm</span> <a href="#narrow/stream/213817-t-lang/topic/Down.20On.20Lints/near/214890299">said</a>:</p>
<blockquote>
<p>I think the problem is that I wouldn't even want to turn on a bunch of these, if I have to see them in the CLI output, because I so often don't want to apply them.</p>
</blockquote>
<p>An allow-by-default lint with a rustfix could potentially be presented by rust-analyzer as an optional "hey maybe" nudge.</p>



<a name="214890379"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890379" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890379">(Oct 28 2020 at 20:03)</a>:</h4>
<p>You could even have a list of "nudges I don't mind receiving".</p>



<a name="214890405"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890405" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890405">(Oct 28 2020 at 20:03)</a>:</h4>
<p>UX is hard. :)</p>



<a name="214890436"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890436" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890436">(Oct 28 2020 at 20:04)</a>:</h4>
<p>If you write React for even like... two weeks? You will eventually write a React component that consists of two logical components that should be used in combination. That is just how React works. It is meant to be used with such compositional reasoning about the framework, and there are some very basic patterns that get taught to everyone that have two, not one, components in a file.</p>
<p>So it makes writing basic React feel painful, for the sake of a false "correctness", and yet such a lint exists in ESLint. And it's not about something that's potentially a correctness concern or even a <em>pleasant</em> style nit to deal with, it's just pure raw opinion slathered over my face, and programs should not assist with that, especially when it's not resolved by an autoformatter (at least those get out of the way!), especially on a community resource.</p>



<a name="214890597"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890597" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890597">(Oct 28 2020 at 20:05)</a>:</h4>
<p>"So you just have PTSD from having to deal with JS FOSS linters?" MAYBE.</p>



<a name="214890618"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890618" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> scottmcm <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890618">(Oct 28 2020 at 20:05)</a>:</h4>
<p><span class="user-mention" data-user-id="239881">@Josh Triplett</span>  Yeah, Resharper has local-to-the-machine configuration, local-to-the-solution-but-not-shared, and solution-and-checked-into-source-control configuration for all of the things, and a UI to change the lint level for the thing directly from where you see it.</p>



<a name="214890653"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890653" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890653">(Oct 28 2020 at 20:05)</a>:</h4>
<p><span class="user-mention silent" data-user-id="125270">scottmcm</span> <a href="#narrow/stream/213817-t-lang/topic/Down.20On.20Lints/near/214890618">said</a>:</p>
<blockquote>
<p><span class="user-mention silent" data-user-id="239881">Josh Triplett</span>  Yeah, Resharper has local-to-the-machine configuration, local-to-the-solution-but-not-shared, and solution-and-checked-into-source-control configuration for all of the things, and a UI to change the lint level for the thing directly from where you see it.</p>
</blockquote>
<p>that sounds so nice</p>



<a name="214890698"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890698" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890698">(Oct 28 2020 at 20:05)</a>:</h4>
<p>I need to use a proper IDE at some point <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span> instead of just using RA for syntax highlighting and ignoring the hints</p>



<a name="214890861"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890861" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890861">(Oct 28 2020 at 20:07)</a>:</h4>
<p>Yeah honestly some errs/lints just don't make sense if they appear in a cmdline and some don't make sense if they appear in an IDE.</p>



<a name="214890887"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890887" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> scottmcm <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890887">(Oct 28 2020 at 20:07)</a>:</h4>
<p><a href="/user_uploads/4715/7YQ-xdgGQMrO4qFTqT4vC8SI/image.png">image.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/7YQ-xdgGQMrO4qFTqT4vC8SI/image.png" title="image.png"><img src="/user_uploads/4715/7YQ-xdgGQMrO4qFTqT4vC8SI/image.png"></a></div>



<a name="214890967"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214890967" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214890967">(Oct 28 2020 at 20:07)</a>:</h4>
<p>ooh I <em>love</em> 'why is my IDE suggesting this'</p>



<a name="214891022"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214891022" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214891022">(Oct 28 2020 at 20:08)</a>:</h4>
<p>I'm big on discoverability :P</p>



<a name="214891335"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214891335" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214891335">(Oct 28 2020 at 20:10)</a>:</h4>
<p>I have noticed a few times in the #beginners channels that we had to say "my crab, stop listening to the IDE and just run <code>cargo check</code>" so they could see the full error that they were mystified by.</p>



<a name="214891648"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214891648" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214891648">(Oct 28 2020 at 20:13)</a>:</h4>
<p>that seems like it could be fixed by better tooling though</p>



<a name="214891677"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214891677" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214891677">(Oct 28 2020 at 20:13)</a>:</h4>
<p>where the IDE highlights your source code instead of rustc trying to make ascii art</p>



<a name="214891710"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214891710" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214891710">(Oct 28 2020 at 20:13)</a>:</h4>
<p>I can imagine doing that with JSON output or something</p>



<a name="214891846"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214891846" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214891846">(Oct 28 2020 at 20:14)</a>:</h4>
<p>Yes.</p>



<a name="214903918"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/214903918" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dirkjan Ochtman <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#214903918">(Oct 28 2020 at 22:10)</a>:</h4>
<p>I do wonder why RA (in VS Code in my case) doesn't show the full and proper error</p>



<a name="215027922"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/215027922" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Yoshua Wuyts <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#215027922">(Oct 29 2020 at 21:06)</a>:</h4>
<p><span class="user-mention" data-user-id="226095">@Dirkjan Ochtman</span> if I recall correctly it's partly because RA uses a different parser than rustc (for now), and partly because VS Code's "problem" formatting is limited and can't even do basic things like display text in bold -- there's an open issue for it on the VS Code repo <a href="https://github.com/microsoft/vscode/issues/54272">https://github.com/microsoft/vscode/issues/54272</a></p>



<a name="215028883"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/215028883" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Yoshua Wuyts <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#215028883">(Oct 29 2020 at 21:13)</a>:</h4>
<p>Re: lints -- I remember a while back there being talk about moving some of Clippy's lints to the compiler proper — has there been any movement on that? (I'm vague on the details -- not recall in which capacity this was discussed)</p>



<a name="215029042"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/215029042" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#215029042">(Oct 29 2020 at 21:14)</a>:</h4>
<p><span class="user-mention silent" data-user-id="211722">Yoshua Wuyts</span> <a href="#narrow/stream/213817-t-lang/topic/Down.20On.20Lints/near/215028883">said</a>:</p>
<blockquote>
<p>Re: lints -- I remember a while back there being talk about moving some of Clippy's lints to the compiler proper — has there been any movement on that? (I'm vague on the details -- not recall in which capacity this was discussed)</p>
</blockquote>
<p>individual lints have been moved, but it seems the policy is that there won't be a 'mass-migration'</p>



<a name="215029149"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/215029149" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#215029149">(Oct 29 2020 at 21:15)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/issues/53224">https://github.com/rust-lang/rust/issues/53224</a></p>



<a name="215161431"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Down%20On%20Lints/near/215161431" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Yoshua Wuyts <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Down.20On.20Lints.html#215161431">(Oct 30 2020 at 23:18)</a>:</h4>
<p><span class="user-mention" data-user-id="232545">@Joshua Nelson</span> thank you!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>